package com.yesjpt.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Person extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 1L;
    private String username;//用户名
    private String password;//密码
    private Lxfs lxfs; //联系方式
    private String nickname;
    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss")
    private Date birthday;
    private Integer age;
}
